<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="base" uri="http://qdbp.gitee.io/tags/base/"%>

<!DOCTYPE html>
<html class="ui-auth">
<head>
	<%@ include file="../_/meta.jsp"%>
	<title>登录 - ${pv.project.name}</title>
	<%@ include file="../_/style.jsp"%>
	<link href="<base:url href='assets/h5/auth/auth-base.css'/>" rel="stylesheet" type="text/css" />
</head>

<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">登录</h1>
	</header>
	<section class="mui-content">
		<form name="login" method="POST" action="<base:url href='auth/login.json'/>" data-to="<base:url href='/' />" onsubmit="return false">
			<div class="mui-input-group mt-sm">
				<div class="mui-input-row icon-on-left">
					<span class="icon fa fa-user"></span>
					<input name="account" type="text" class="mui-input mui-input-clear" data-label="登录账号" placeholder="登录账号/手机号码/邮箱" />
				</div>
				<div class="mui-input-row icon-on-left">
					<span class="icon fa fa-lock"></span>
					<input name="password" type="password" class="mui-input mui-input-clear" placeholder="登录密码" />
				</div>
			</div>
			<div class="mui-input-group mt-xs">
				<ul class="mui-table-view mui-table-view-chevron">
					<li class="mui-table-view-cell">
						<span class="color-weak">下次自动登录</span>
						<label class="mui-switch mui-switch-mini mui-active">
							<input class="hide" type="checkbox" name="autologin" value="true" checked />
							<div class="mui-switch-handle"></div>
						</label>
					</li>
				</ul>
			</div>
			<div class="prompt-message prompt-error"></div>
			<div class="mui-content-padded">
				<button class="mui-btn mui-btn-block mui-btn-primary do-submit">登&nbsp;&nbsp;录</button>
			</div>
		</form>
		<div class="mui-content-padded">
			<div class="link-area">
				<a class="do-append-account" href="<base:url href='auth/register/'/>">注册账号</a> <span class="spliter">|</span> <a class="do-append-account" href="<base:url href='auth/repwd/'/>">忘记密码</a>
			</div>
		</div>
		<div class="mui-content-padded oauth-area">
		</div>
	</section>
	
	<%@ include file="../_/script.jsp"%>
	<script src="<base:url href='assets/libs/cookie/cookie.js'/>" type="text/javascript"></script>
	<script src="<base:url href='assets/base/core/mui/plugins-init.js'/>" type="text/javascript" data-zload-ignore="true"></script>
	<script src="<base:url href='assets/h5/auth/auth-base.js'/>" type="text/javascript"></script>
	<script src="<base:url href='assets/h5/auth/auth-operate.js'/>" type="text/javascript"></script>
	<%@ include file="../_/analysis.jsp"%>
</body>
</html>
